#include "Tag.h"

#include <string.h>
#include <iostream>

#include "BookMark.h"
#include "BookMarkList.h"
#include "UserMGR.h"

using namespace std;

// Revision Date: 2007-01-04
// Revision By : Lohan, Lim


// Creator & Destroy //

Tag::Tag()
{
	this->title = "";
}

Tag::Tag( string tag )
{
	this->title = tag;
}

Tag::Tag( const Tag& source )
{
	this->title = source.title;
}

Tag::~Tag()
{

}

// Operator Function //
Tag& Tag::operator = ( const Tag& source )
{
	this->title = source.title;

	return (*this);
}

bool Tag::operator == ( const Tag& other )
{
	bool ret = false;
	if ( this->title == other.title)
	{
		ret = true;
	}
	return ret;
}

bool Tag::operator != ( const Tag& other )
{
        bool ret = true;
        if ( this->title != other.title )
        {
                ret = false;
        }

        return ret;
}
